<template>
  <div id="test">
    {{title}}
  </div>
</template>

<script>
export default {
  data(){
    return {
      title:'我是组件test'
    }
  }
}
</script>

<style scoped>
  .test{
    font-size: 30px;
    color: crimson;
  }
</style>